package com.wocai.jrt.orgadmin.project.service.spi;

import java.rmi.ServerException;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.vteba.service.generic.MyBatisService;
import com.vteba.web.action.JsonBean;
import com.wocai.jrt.orgadmin.project.bean.ProjectReqBean;
import com.wocai.jrt.orgadmin.project.bean.ProjectResBean;
import com.wocai.jrt.orgadmin.project.model.Project;
import com.wocai.jrt.orgadmin.project.model.ProjectBean;

/**
 * 项目相关的业务service接口。
 * @author yinlei
 * @date 2016-3-17 17:23:18
 */
public interface ProjectService extends MyBatisService<Project, ProjectBean, String> {
	public JsonBean saveProject(ProjectReqBean projectReqBean, List<MultipartFile> fileList) throws ServerException;

	public JsonBean updateProject(ProjectReqBean model,
			List<MultipartFile> fileList) throws ServerException;
	
	public List<ProjectResBean> getAllNoInProjectList(Project model);

	public List<ProjectResBean> getAllInStoreProjectList(Project model);
}
